home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr46
/
vfwdk.zip
/
VFWSDK.ZIP
/
SAMPLES
/
MCIPLAY
/
MAKEFILE
next >
Wrap
Text File
|
1993-01-28
|
1KB
|
67 lines
#
# makefile for MCIPlay sample application
#
# (C) Copyright Microsoft Corp. 1991, 1992, 1993. All rights reserved.
#
# You have a royalty-free right to use, modify, reproduce and
# distribute the Sample Files (and/or any modified version) in
# any way you find useful, provided that you agree that
# Microsoft has no warranty obligations or liability for any
# Sample Application Files.
#
!if "$(DEBUG)" == "NO"
COPT =
MOPT =
LOPT =
DEF =
!else
COPT = -Zi -Fc
MOPT = -Zi -L
LOPT = /CO
DEF = -DDEBUG
!endif
CC = cl -c -nologo -Asnw -G2sw -Zp -W3 -Oxwti -I. $(DEF) $(COPT)
RC = rc $(DEF)
ASM = masm -Mx -t $(MOPT) $(DEF)
LINK = link $(LOPT)/NOD/NOE/MAP/NOPACKC/AL:16
NAME= mciplay
EXENAME=mciplay.exe
OBJ = mciplay.obj
LIBS = libw slibcew mmsystem commdlg msvideo mciwnd
.c.obj:
$(CC) $*.c
.asm.obj:
$(ASM) $*;
.rc.res:
$(RC) -r $*.rc
goal: $(EXENAME)
$(EXENAME): $(OBJ) $(NAME).res $(NAME).def makefile
$(LINK) @<<
$(OBJ),
$(EXENAME),
$(NAME),
$(LIBS),
$(NAME).def
<<
-cvpack -p $(EXENAME)
-mapsym $(NAME).map
$(RC) $(NAME).res $(EXENAME)
copy $(NAME).exe ..\..\bin
clean:
del $(EXENAME)
del *.res
del *.obj
del *.map
del *.sym
del *.cod